﻿using System;
// ReSharper disable InconsistentNaming
// ReSharper disable IdentifierTypo

namespace K9Nano.LayIM.Models
{
    public class LayIMReceiveMessage
    {
        public bool system { get; set; } = false;
        public string username { get; set; }
        public string avatar { get; set; }
        public string id { get; set; }
        public string type { get; set; }
        public string content { get; set; }
        public string cid { get; set; }
        public bool mine { get; set; }
        public string fromid { get; set; }
        public long timestamp { get; set; }

        public LayIMReceiveMessage()
        {
            mine = false;
            timestamp = DateTimeOffset.Now.ToUnixTimeMilliseconds();
        }
    }
}